package com.bwie.seckill.service.impl;

import com.bwie.common.utils.R;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.common.utils.PageUtils;
import com.bwie.common.utils.Query;

import com.bwie.seckill.dao.OrderFormDao;
import com.bwie.seckill.entity.OrderFormEntity;
import com.bwie.seckill.service.OrderFormService;


@Service("orderFormService")
public class OrderFormServiceImpl extends ServiceImpl<OrderFormDao, OrderFormEntity> implements OrderFormService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<OrderFormEntity> page = this.page(
                new Query<OrderFormEntity>().getPage(params),
                new QueryWrapper<OrderFormEntity>()
        );

        return new PageUtils(page);
    }



}
